projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e9112
)
css: Avoid queue_resize in _gtk_widget_style_context_invalidated
author
Alexander Larsson
<alexl@redhat.com>
Tue, 4 Dec 2012 15:36:37 +0000
(16:36 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Tue, 4 Dec 2012 19:16:44 +0000
(20:16 +0100)
We've already emitted style_updated, and the handler for that queues
a resize if necessary.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 2f5557929ac0df0d2fbe37669c05444232f592c7..9141a707f786cfc1e9ad8479d06b05a31e2b9806 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-13965,9
+13965,6
@@
_gtk_widget_style_context_invalidated (GtkWidget *widget)
*/
widget->priv->style_update_pending = TRUE;
}
-
- if (widget->priv->anchored)
- gtk_widget_queue_resize (widget);
}
/**